package com.meida.paotui.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 重量价格表
 *
 * @author flyme
 * @date 2019-11-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_weightprice")
@TableAlias("weightprice")
@ApiModel(value="BusWeightprice对象", description="重量价格表")
public class BusWeightprice extends AbstractEntity {

private static final long serialVersionUID=1L;


    @ApiModelProperty(value = "主键")
    @TableId(value = "weightPriceId", type = IdType.ID_WORKER)
    private Long weightPriceId;


    @ApiModelProperty(value = "起始重量")
    private BigDecimal startWeight;

    @ApiModelProperty(value = "终止重量")

    private BigDecimal endWeight;

    @ApiModelProperty(value = "起步重量金额")
    private BigDecimal weightprice;

    @ApiModelProperty(value = "描述")
    private String weightDescribe;

    @ApiModelProperty(value = "排序号")
    private Integer indexs;

    @ApiModelProperty(value = "起步距离价格")
    private BigDecimal distancePrice;

    @ApiModelProperty(value = "终止距离金额")
    private BigDecimal enddistance;

    @ApiModelProperty(value = "起始距离")
    private BigDecimal startDistance;

    @ApiModelProperty(value = "单位金额")
    private BigDecimal unitWeight;

    @ApiModelProperty(value = "单位距离价格")
    private BigDecimal unitDistance;

}
